/*************************************************************************
	> File Name: main.cc
	> Author: Joker
	> Mail: mahongtao@foxmail.com 
	> Created Time: 2020-09-08 11:47:15
 ************************************************************************/

#include "Singleton.h"
#include <iostream>

using std::cout;
using std::endl;

void test0(){
    Singleton::GetInstancePtr()->Test();
    Singleton::GetInstance().Test();
    Singleton * singleton = new Singleton();
    singleton->Test();
    delete singleton;
}
 
int main(int argc,char *argv[])
{
    test0();
    return 0;
}
